<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改论文')" />
    <th:block th:include="include :: datetimepicker-css" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-paper-edit" th:object="${doc}">
            <input name="id" th:field="*{id}" type="hidden">
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">论文中文标题：</label>
                <div class="col-sm-8">
                    <input name="cnName" th:field="*{cnName}" class="form-control" type="text" disabled>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">论文英文标题：</label>
                <div class="col-sm-8">
                    <input name="enName" th:field="*{enName}" class="form-control" type="text" disabled>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">第一作者：</label>
                <div class="col-sm-8">
                    <input name="firstAuthor" th:field="*{firstAuthor}" class="form-control" type="text" disabled>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">通讯作者：</label>
                <div class="col-sm-8">
                    <input name="correspondingAuthor" th:field="*{correspondingAuthor}" class="form-control" type="text" disabled>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">其他作者：</label>
                <div class="col-sm-8">
                    <textarea name="otherAuthor" class="form-control" disabled>[[*{otherAuthor}]]</textarea>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">第一署单位：</label>
                <div class="col-sm-8">
                    <input name="firstUnit" th:field="*{firstUnit}" class="form-control" type="text" disabled>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">刊名：</label>
                <div class="col-sm-8">
                    <input name="journalName" th:field="*{journalName}" class="form-control" type="text" disabled>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">发表年月：</label>
                <div class="col-sm-8">
                    <div class="input-group date">
                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                        <input name="publishDate" th:value="${#dates.format(doc.publishDate, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text" disabled>
                    </div>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">卷期：</label>
                <div class="col-sm-8">
                    <input name="volumePeriod" th:field="*{volumePeriod}" class="form-control" type="text" disabled>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">页码：</label>
                <div class="col-sm-8">
                    <input name="pagination" th:field="*{pagination}" class="form-control" type="text" disabled>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">论文性质：</label>
                <div class="col-sm-8">
                    <select name="paperNature" class="form-control m-b" th:with="type=${@dict.getType('paper_nature')}" disabled>
                        <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{paperNature}"></option>
                    </select>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">论文类别：</label>
                <div class="col-sm-8">
                    <select name="paperType" class="form-control m-b" th:with="type=${@dict.getType('paper_type')}" disabled>
                        <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{paperType}"></option>
                    </select>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">单位：</label>
                <div class="col-sm-8">
                    <div class="input-group">
                        <input name="writtingsName" th:field="*{reportUnit}" class="form-control" type="text" required disabled>
                    </div>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">科室：</label>
                <div class="col-sm-8">
                    <div class="input-group">
                        <input name="writtingsName" th:field="*{department}" class="form-control" type="text" required disabled>
                    </div>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">申报时间：</label>
                <div class="col-sm-8">
                    <div class="input-group date">
                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                        <input name="reportTime" th:value="${#dates.format(doc.reportTime, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text" disabled>
                    </div>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">是否属于创新激励奖：</label>
                <div class="col-sm-8">
                    <select name="isInnovate" class="form-control m-b" th:with="type=${@dict.getType('is_innovate')}" disabled>
                        <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{isInnovate}"></option>
                    </select>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label is-required">附件：</label>
                <div class="col-sm-8">
                    <ul class="list-group list-group-striped">
                        <li th:each="dict : ${appendices}" class="list-group-item">
                            <a  th:href="${dict.appendixLocation}"   target="_blank"><i class="fa fa-edit"></i>[[${dict.appendixName}]]</a>
                        </li>
                    </ul>
                </div>
            </div>
        </form>
    </div>

    <th:block th:include="include :: footer" />
    <th:block th:include="include :: datetimepicker-js" />
    <script type="text/javascript">
        var prefix = ctx + "system/approval";
    </script>
</body>
</html>